﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CateNews0101.ascx.cs"
    Inherits="SEVN.Web.Framework.Modules.News.CateNews0101" %>
<link href="../../Styles/CateNews0101.css" rel="stylesheet" type="text/css" />
<div id="CateNews0101">
    <asp:Repeater ID="rptCate" runat="server" OnItemDataBound="rptCate_ItemDataBound">
        <ItemTemplate>
            <div class="catenews">
                <asp:HiddenField ID="hdCateID" runat="server" Value='<%#Eval("CategoryID") %>' />
                <div class="title-center">
                    <div class="catename">
                        <a href='Category.aspx?cid=<%# Eval("CategoryID") %>'>
                            <%# Eval("CategoryName") %></a>
                    </div>
                    <div class="lectTab">
                        <asp:Repeater ID="rptChild" runat="server">
                            <HeaderTemplate>
                                <ul>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <li><a href='SubCate.aspx?sid=<%# Eval("CategoryID") %>'>
                                    <%# Eval("CategoryName") %>
                                </a></li>
                            </ItemTemplate>
                            <FooterTemplate>
                                </ul></FooterTemplate>
                        </asp:Repeater>
                    </div>
                </div>
                <div class="cate-content">
                    <div class="lectFirst">
                        <div class="frameImage">
                            <asp:ImageButton runat="server" Visible="false" CssClass="imgFirst" ID="ibtNewsFirst" ImageUrl="../../Images/Design/Normal.gif"
                                PostBackUrl="Default.aspx" />
                        </div>
                        <asp:HyperLink runat="server" CssClass="hplTitle" ID="hplNewsFirst"></asp:HyperLink>
                        <asp:Image ID="imgNews" runat="server" Visible="false" Width="33px" Height="16px"
                            BorderStyle="None" ImageUrl="../../Images/Design/new-icon.gif" /><br />
                        <asp:Label ID="lblPublishDateNews" runat="server" Text="" CssClass="lable-date"></asp:Label>
                        <asp:Label runat="server" ID="lblSubTitle"></asp:Label>
                    </div>
                    <div class="lectOther">
                        <asp:Repeater ID="rptNewsOther" runat="server">
                            <HeaderTemplate>
                                <ul>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <li><a href='Newsletter.aspx?id=<%# Eval("NewsID") %>'>
                                    <%# Eval("Title") %></a>
                                    <asp:Image ID="imgNews" runat="server" Visible='<%# Eval("IsNew") %>' Width="33px"
                                        Height="16px" BorderStyle="None" ImageUrl="../../Images/Design/new-icon.gif" />
                                </li>
                            </ItemTemplate>
                            <FooterTemplate>
                                </ul></FooterTemplate>
                        </asp:Repeater>
                    </div>
                </div>
            </div>
        </ItemTemplate>
    </asp:Repeater>
</div>
